package com.younion.vo;

import cpcns.component.common.base.BaseVO;
import cpcns.persister.converter.IDomainObject;
import cpcns.persister.service.CompositeID;


 
public class PermissionsVO extends BaseVO implements IDomainObject,Cloneable{

	/**  */
	private static final long serialVersionUID = -1L;

	 
	private Integer id;

	 
	private String name;

	 
	private String description;

 
	private String code;

	/**
	 * 
	 */
	public PermissionsVO() {
	}

	/** 
	 * @return the id
	 */ 
	public Integer getId() {
		return id;
	}

	/** 
	 * @param id the id to set 
	 */ 
	public void setId(Integer id) {
		this.id = id;
	}

	/** 
	 * @return the name
	 */ 
	public String getName() {
		return name;
	}

	/** 
	 * @param name the name to set 
	 */ 
	public void setName(String name) {
		this.name = name;
	}

	/** 
	 * @return the description
	 */ 
	public String getDescription() {
		return description;
	}

	/** 
	 * @param description the description to set 
	 */ 
	public void setDescription(String description) {
		this.description = description;
	}

	/** 
	 * @return the code
	 */ 
	public String getCode() {
		return code;
	}

	/** 
	 * @param code the code to set 
	 */ 
	public void setCode(String code) {
		this.code = code;
	}

	public CompositeID getCompositeID(){
		CompositeID _id = super.getCompositeID();
		_id.clear();
		if(id != null){
			_id.addKey("id", id);
		}
		return _id;
	}
}
